package com.lnj.community.dao.vo;

import com.lnj.community.dao.entity.Message;
import com.lnj.community.dao.entity.User;

public class MessageVo {
    private Message message;// 通知
    private User user;// 发送者
    private int entityType;// 实体类型
    private int entityId;// 实体id
    private int postId;// 帖子id
    private int count;// 通知数量
    private int unread;// 未读数量

    public Message getMessage() {
        return message;
    }

    public void setMessage(Message message) {
        this.message = message;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getEntityType() {
        return entityType;
    }

    public void setEntityType(int entityType) {
        this.entityType = entityType;
    }

    public int getEntityId() {
        return entityId;
    }

    public void setEntityId(int entityId) {
        this.entityId = entityId;
    }

    public int getPostId() {
        return postId;
    }

    public void setPostId(int postId) {
        this.postId = postId;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getUnread() {
        return unread;
    }

    public void setUnread(int unread) {
        this.unread = unread;
    }
}
